/*
 * Copyright (c) 2011-2025 PiChen
 */

package com.interface21.beans;

/**
 * Thrown on an unrecoverable problem encountered in the
 * beans packages or sub-packages: e.g. bad class or field.
 *
 * @author Rod Johnson
 * @version $Revision$
 */
public class FatalBeanException extends BeansException {

    /**
     * Constructs a <code>FatalBeanException</code>
     * with the specified message.
     *
     * @param msg the detail message.
     */
    public FatalBeanException(String msg) {
        super(msg);
    }

    /**
     * Constructs a <code>FatalBeanException</code>
     * with the specified message and root cause.
     *
     * @param msg the detail message.
     * @param t   root cause
     */
    public FatalBeanException(String msg, Throwable t) {
        super(msg, t);
    }
}


